package com.youmu.maven.emall.service;

import java.util.List;

import com.github.pagehelper.Page;
import com.youmu.maven.emall.entity.Role;

public interface IRoleService {

	Page<Role> queryRole(Role role, int page, int rows);

	List<Role> queryRoleFull(Role role);

	Role queryRoleFullById(Long id, boolean throwException);

	void deleteRoleById(Long id);

	void updateRole(Role role);

	Long insertRole(Role role);

}
